From: Florian Müllner Date: Wed, 4 Sep 2013 12:41:24 +0000 (+0200) Subject: appDisplay: Remove _updateAdjustment X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3502 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fd8def705d45bd8681f21e9242a4c568259fcde8;p=gnome-shell.git appDisplay: Remove _updateAdjustment Provided that PaginatedIconGrid's height request is correct, we can rely on StBoxLayout to update the adjustment correctly. --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index ece06a56d..7ef827228 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -505,11 +505,6 @@ const AllView = new Lang.Class({ this.goToPage(itemPage); }, - _updateAdjustment: function(availHeight) { - this._adjustment.page_size = availHeight; - this._adjustment.upper = this._stack.height; - }, - _updateIconOpacities: function(folderOpen) { for (let id in this._items) { let params, opacity; @@ -538,8 +533,6 @@ const AllView = new Lang.Class({ let availHeight = box.y2 - box.y1; let oldNPages = this._grid.nPages(); - this._updateAdjustment(availHeight); - this._grid.adaptToSize(availWidth, availHeight); let fadeOffset = Math.min(this._grid.topPadding,